CHECK FOR UNDERSTANDING: We've used if-statements to test when two things are equal, greater than, and less than but we can also use them to test if two things are not equal.

Not Equal To: If your guess != (is not equal to) the random number, the sprite says, "Nope! Guess again!".

  • Click Run and guess the letter. Then use the code to answer the questions.
  • Click Submit and Next to move on.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)